package cn.tedu.account.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @ClassName Account
 * @Description:类描述
 * @Author Tedu
 * @Date 2021/7/1 9:52
 * @Version V1.0
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Account {
    private  Long id;
    private  Long userId;
    private  BigDecimal total; //总金额
    private  BigDecimal used;  //已使用
    private  BigDecimal residue;  //可用
    private  BigDecimal frozen;  //冻结金额

}
